package com.outdoor.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.outdoor.model.enums.ActivityType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.time.LocalDate;

/**
 * 团队实体类
 * 
 * @author OutdoorTeam
 * @date 2025-05-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@TableName("teams")
public class Team extends BaseEntity {
    
    @TableId(type = IdType.AUTO)
    private Long id;
    
    private String name;
    private ActivityType activityType;
    private String location;
    private LocalDate date;
    private Integer maxMembers;
    private String description;
    private String experienceLevel;
    private String additionalRequirements;
    
    /**
     * 团队领队ID
     */
    private Long leaderId;
    
    /**
     * 关联行程ID
     */
    private Long tripId;
} 